<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>
<head>
    <%@include file="common/head.jspf"%>
    <title>提现申请列表</title>
    <script src="js/pages/admin/cashlist.js"></script>
    <script type="text/template" id="tmpl-approve">
        <tr>
            <td><a class="shop-detail" href="javascript:void(0);" data-id="{{=shopinfo.id}}">{{=shopinfo.name}}</a></td>
            <td>{{=applytime}}</td>
            <td>{{=credit}}</td>
            <td><a class="btn btn-sm btn-primary btn-block" href="./adm/confirmCash?id={{=id}}">确&nbsp;&nbsp;认</a></td>
        </tr>
    </script>
    <script type="text/template" id="tmpl-cashed">
        <tr>
            <td><a class="shop-detail" href="javascript:void(0);" data-id="{{=shopinfo.id}}">{{=shopinfo.name}}</a></td>
            <td>{{=applytime}}</td>
            <td>{{=credit}}</td>
            <td></td>
        </tr>
    </script>
</head>
<body>
<%@include file="common/navbar.jspf" %>
<div class="container">
    <div class="row">
        <div class="col-md-3">
            <%@include file="common/sidebar.jspf" %>
        </div>
        <div class="col-md-9">
            <ul class="nav nav-tabs">
                <li class="active"><a href="javascript:void(0);" id="approve-btn">未提现</a></li>
                <li><a href="javascript:void(0);" id="cashed-btn">已提现</a></li>
            </ul>
            <div class="panel panel-default">
                <div class="panel-heading">提现申请列表</div>
                <table class="table table-bordered table-striped">
                    <thead>
                    <tr>
                        <th>商户名称</th>
                        <th>申请日期</th>
                        <th>提现积分</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="cash-list"></tbody>
                </table>
            </div>
            <div id="page"></div>
        </div>
    </div>
</div>

<%@include file="common/dialog.jspf"%>

</body>
</html>
